from scrapy import cmdline

cmdline.execute("scrapy runspider jd_spider.py")